/**
 * @author		Sergey Suzdalskiy
 * @e-mail:		sergey.suzdalskiy@gmail.com
 */
package ua.kiev.gcore.ui.container
{
	
	import ua.kiev.gcore.ui.container.collection.UIItemCollection;
	import ua.kiev.gcore.ui.container.component.IUIComponent;
	
	public class UIContainer
	{
		private var uiComponentCollection:UIItemCollection;
		
		public function UIContainer()
		{
			uiComponentCollection = new UIItemCollection();
		}
		
		public function addComponent(item:IUIComponent):IUIComponent{
			uiComponentCollection.pushItem(item);
			return item;
		}
		
		public function draw():void{
			uiComponentCollection
		}
	}
}